package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 帮助砍价的用户明细列表
    */
@ApiModel(value="com-lanchetech-entity-BargainDetail")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BargainDetail implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value="id")
    private Long id;

    /**
    * 用户id
    */
    @ApiModelProperty(value="用户id")
    private Long userId;

    /**
    * 活动id
    */
    @ApiModelProperty(value="活动id")
    private Long activityId;

    /**
    * 砍价活动记录id
    */
    @ApiModelProperty(value="砍价活动记录id")
    private Long bargainRecordId;

    /**
    * 砍价金额
    */
    @ApiModelProperty(value="砍价金额")
    private BigDecimal bargainAmount;

    /**
    * 创建时间
    */
    @ApiModelProperty(value="创建时间")
    private Date createdAt;

    private static final long serialVersionUID = 1L;
}